/* HTML5 Boilerplate  */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }

/*###############################-BEGIN-####################################*/
body {background-color: #282838;}
#wrapper {width: 960px; margin: 0 auto; padding: 15px; background-color: #FFF;}
#wrapper > header { width: 100%; height: 100px; }
#wrapper > header>div { float: left; }

#wrapper > footer {
    margin: 30px 0 0 0;
    height: 200px;
    background-color: #E0E0E0;
}

#top_menu {
    width: 420px;
}
#top_menu > ul { list-style-type: none; padding: 0px;}
#top_menu >ul li {float: left; padding: 10px 30px; background-color: #83A5BF;  font: bold 14pt sans-serif;}
#top_menu >ul li:hover {background-color: #3073A6;}
#top_menu >ul li> a {color: #fff; text-decoration: none;}

#top_bank {margin: 0 auto;}
#total_bank { padding: 10px; font: bold 19pt Verdana; text-shadow: 4px 4px 7px #777; color: #444;}
#total_bank span { color: orange; font-size: 32pt; font-weight: 100;}
#money-jar { width: 60px; height: 107px;}
#logo { float: right; width: 120px; height: 144px; top: -10px; position: relative;}
#top_blk { margin: 50px 0 0 0;}
/* USER */
#user-table {margin: 10px; background-color: #E0E0E0; border-radius: 0px 50px 0px 50px; box-shadow: 0 0 30px rgba(0,0,0,0.5); -moz-box-shadow: 0 0 30px rgba(0,0,0,0.5);
   -webkit-box-shadow: 0 0 30px rgba(0,0,0,0.5);}


#user_menu { margin: 25px 30px 15px 50px; }
#user_menu > ul { list-style:none;}
#user_menu>ul>li { width: 100px; font: bold 14pt Verdana, Geneva, Arial, Helvetica, sans-serif; padding: 10px; }
#user_menu>ul>li a {color: #555555; padding-left: 5px; text-decoration: none; border-left: 3px solid #282838;}
#user_menu>ul>li a:hover {color: #A60400; text-decoration: underline; border-left: 3px solid #A60400;}

#user_info { margin: 30px 10px 0 10px; width: 550px; }
#user_info > p {margin: 10px 0 20px 100px; font: normal 18pt Arial, Helvetica, sans-serif; }
#user_info > ul { list-style-type: none;}
#user_info > ul li { padding: 8px; font: normal 16pt sans-serif;}
#user_info > ul li > a { font: bold 14pt sans-serif; margin: 0 20px 0 0; }
/* TABLE ON MAIN PAGE*/

#play_table { border: 0px solid black; display: table; margin: 50px 0 0 0;}
#play_table td { width: 480px; border: 0px solid red;}
#play_table th { background-color: #A3A3B3; padding: 10px;}
#play_table th > a { color: #FFF; text-transform: lowercase}

.game { width: 100%; border: 0px solid #808080; }
.game tr {border-bottom: 1px solid #551A8B;}
.game tr:hover {background-color: #CCCCCC; border-bottom: 2px solid #551A8B;}
.flag img {width: 40px; height: 26px; margin: 5px;}
.country {font: normal 12pt sans-serif; color: #737373}
.score {font: normal 18pt sans-serif;}
.score > div { padding: 0px 10px 0px 10px; }
.score > div > input { width: 30px; height: 30px; font: bold 13pt sans-serif;}
.left > div { float: left; margin: 10px 0px 10px 0px;}
.right > div { float: right; margin: 10px 0px 10px 0px; }
.passed { padding-right: 20px; }
.following { padding-left: 20px; }

/* TABLE*/

#result-table { width: 100%; margin-top: 80px; border: 0px; }
#result-table td {padding: 0px;}
.date_label > div { 
    font: bold 10pt Verdana, Geneva, Arial, Helvetica, sans-serif; 
    color:#777; 
    float:right;
    width: 100px;
    border-radius: 50px 0px 0px 50px; 
    -moz-border-radius: 50px 0px 0px 50px; 
    -webkit-border-radius: 50px 0px 0px 50px; 
    padding: 20px 10px 20px 40px;
    border: 5px solid #E0E0E0; border-right: 0px; 
-moz-box-shadow: -5px 5px 5px rgba(0,0,0,0.5);
    -webkit-box-shadow: -5px 5px 5px rgba(0,0,0,0.5);
    box-shadow: -5px 5px 5px rgba(0,0,0,0.5);}
.score_label > div { float:right; width: 20px; height: 20px; padding:20px; background-color: #E8DF8D; border-radius: 60px; border: 10px solid #BCAC0B; font: bold 14pt sans-serif; color: #FFF;}

.game-element { width: 100%; height: 100px;  margin-bottom:20px; 
    -moz-box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    -webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}
.game-element:hover { background-color: #EEE;}

.container-goals { vertical-align: top; }
/*.flag_big img {width: 80px; height: 54px;}*/
.country {font: normal 16pt sans-serif; color: #737373}
.country > div {width: 200px;}
.score {font: normal 18pt sans-serif;}
.score > div { padding: 0 10 0 10; }
.score-blocked { font-size: 28pt;}
.score > div > input { width: 30px; height: 30px; font: bold 13pt sans-serif;}
.left > div { float: left; margin: 10 0 10 0;}
.right > div { float: right; margin: 10 0 10 0; text-align: right;}
.goals-aut { list-style-type: none; padding: 0px; position: relative; top: 0px; }
.goals-aut > li { margin: 0px; padding: 0px;}
.ended-game {background-color: #B4FFD7;}
.cards-block {
    float: right;
    width: 220px; 
    text-align: center; 
    font: bold 14pt sans-serif;
    padding: 20px;
    }
.cards-blocked {float: left;  }
.card-image { float: left; width: 20px; height: 30px; margin: 0px 10px 10px 25px; }
.user-input { float: left; width: 45px; height: 25px;}

.playoff-title { text-align: center; font: bold 13pt Verdana, Geneva, Arial, Helvetica, sans-serif;}
/* SCORE */

#score-table { width: 70%; margin: 80px 0 0 200px;}
#score-table td { border-bottom: 1px solid #551A8B; padding: 10px; font: normal 14pt sans-serif; color: #737373}
#score-table tr:hover { background-color: #CCCCCC; border-bottom: 2px solid #551A8B; }

/* Popup */

#opaco {
  background-color:#000000;
  left:0;
  opacity:0;
  position:absolute;
  top:0;
  width:100%;
  z-index:10;
}
#popup {
  background-color:#FFFFFF;
  left:0;
  min-width:300px;
  position:fixed;
  top:0;
  z-index:11;
  left:50%;
  top:50%;
}
#popup h3 {
  margin-bottom:10px;
}
#popup textarea {
  display:block;
  margin-bottom:10px;
  width:auto;
}
#popup p {
  color:#444444;
  font-size:1.1em;
  line-height:1.3em;
  margin:10px;
}
#popup .close-btn {
  margin:10px;
}

/* SIGNIN POPUP*/

#signin { width: 94%; height: 150px; margin-top: 50px; padding: 30px; }
#sign_in_form > table { background-color: #E0E0E0;
width: 500px; 
    border-radius: 40px 0px 40px 0px; 
    -moz-box-shadow: 0 0 30px rgba(0,0,0,0.5);
   -webkit-box-shadow: 0 0 30px rgba(0,0,0,0.5);
   }
.widget-header { color: #FFF; font: bold 13pt Verdana, Geneva, Arial, Helvetica, sans-serif; }
#email_input, #pass_input, #fn_input, #ln_input, #pass_confirm  { 
    width: 300px; 
    border-radius: 30px; 
    border: 2px solid orange; 
    padding: 5px; 
    margin: 5px;
}
#email_input:hover, #pass_input:hover, #fn_input:hover, #ln_input:hover, #pass-confirm:hover { 
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
#email_input:focus, #pass_input:focus, #fn_input:focus, #ln_input:focus, #pass_confirm:focus { 
    border: 2px solid green;
}
.reg_label { display: inline; color: red; width: 150px; }
#register-button { position: relative; top: -150px; left: 600px; width: 165px; height: 150px; }
#submit-log-button { float: right; position: relative; right: 50px; top: 20px;}
.link-button {font: normal 10pt Verdana, Geneva, Arial, Helvetica, sans-serif; color: #105CB6;}
.form-label { vertical-align:middle; color: #555; width: 110px; padding-left: 20px; font: bold 11pt Verdana, Geneva, Arial, Helvetica, sans-serif; }

/* REGISTER FORM */
#register { margin: 100px 0px 100px 0px; }
#registration_form > table { background-color: #E0E0E0;
width: 800px; 
    border-radius: 40px 0px 40px 0px; 
    -moz-box-shadow: 0 0 30px rgba(0,0,0,0.5);
   -webkit-box-shadow: 0 0 30px rgba(0,0,0,0.5);
   }
.error-message {width: 300px; 
    color: red; 
    font: normal 10pt Verdana, Geneva, Arial, Helvetica, sans-serif;
    vertical-align: middle;
}
/*##################################-END-###################################*/
@media only screen and (min-width: 35em) {
  

}

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } 
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
